I am trying to build jedit using jEdit's console plugin. So I run "ant" from the "build
project" command.
When I do, the native2ascii test fails:
test:
Deleting directory /home/ezust/workspace/jedit/trunk/build/test/raw-reports
Created dir: /home/ezust/workspace/jedit/trunk/build/test/raw-reports
Running org.jedit.io.Native2ASCIIEncodingTest
Tests run: 108, Failures: 0, Errors: 13, Time elapsed: 0.113 sec
Test org.jedit.io.Native2ASCIIEncodingTest FAILED
Processing /home/ezust/workspace/jedit/trunk/build/test/merged-reports/TESTS-TestSuites.xml
to /tmp/null1094608422
Loading stylesheet jar:file:/home/ezust/workspace/slackerdoc/lib/ant-junit-1.8.2.jar\!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
Transform time: 637ms
Deleting: /tmp/null1094608422
BUILD FAILED
/home/ezust/workspace/jedit/trunk/build.xml:432: Unit test(s) failed\! See reports
at /home/ezust/workspace/jedit/trunk/build/test/reports/index.html
Total time: 5 seconds
Process ant exited with code 1
it works fine when I use a regular shell prompt.
| Submitted | ezust - 2013-09-01 00:52:15 | Assigned | |
|---|---|---|---|
| Priority | 5 | Labels | |
| Status | open | Group | None |
| Resolution | None |
| 2013-09-01 14:48:41 ezust |
changed the "test" from a dependency of build to an <antcall target="test"/> at the
end of the target. That's a workaround but not a fix.
|
|---|---|
| 2013-09-01 17:09:10 vampire0 |
Hm, this is really strange.
|
| 2013-09-01 17:43:03 ezust |
I don't think it is a bug in the console plugin, because we have the same problem
when we tried to automate the build with jenkins.
|
| 2013-09-01 18:05:38 vampire0 |
Acutally Console per-se works if I run "ant test" in the Console System shell.
|
| 2013-09-01 18:06:42 ezust |
I wonder if the Classpath plugin is doing something funky... |
| 2013-09-01 18:09:59 ezust |
I uninstalled the classpath plugin and the problem goes away\!
|
| 2013-09-01 18:14:23 ezust |
If I have classpath loaded, but un-check "include system classpath" in in the classpath
plugin options, the problem goes away.
|
| 2013-09-01 18:15:35 ezust |
- **summary**: Native2Ascii test fails in headless? build --> Classpath Plugin + jEdit
Native2Ascii "ant test" target |
| 2013-09-01 18:27:11 vampire0 |
Ah, nice pin-down. :-) |